Merge request from login.
Login and register is now fully functional, with bonus (access token) and cookie mechanism and frontend's middleware.
Login and register is now fully functional, with bonus (access token) and cookie mechanism and frontend's middleware.