Fixed global languages variable
Added new function to login with custom account
Added cleanup() to perform test cleaning before and after running a test
Added tests for the editor account