Added tests for LoginModule. All back-end modules now require client to add token into Authorization header element. Fixed tests to support it.