fixed the links for the login process
added sudo to build ocmmands, since otherwise it fails
fixed formatting in Protractor.js conf file
added tests for permissions according to #250
pass tests to close #250