Refactoring of the news module
Added saving the user's language during registration
Added user permissions checker tests
Added the ability to use role permissions
Added the display of the username on the sidebar
Added a test for the CookiesAuthProvider. Bugfixes.
Added the ability to store authorization in cookies