Made API user authentication
Merge branch 'master' of https://github.com/BHYCHIK/Olimpiade-manager
Fix of API logout function (unicode error)