Remove setting cookie to http client

Token based authorization will used instead of cookie.
Store username and received token from server, after successful registration.
Login is now working.