Adding some tests to Authorization class

Just adding some tests and an entry on the gitignore file to .idea project folder.