Remove unused js code for login page
Merge pull request #5132 from svbergerem/remove-unused-login-js

Remove unused js code for login page
pass tests for getting and setting to localStorage