added tests for app without guest functionality
added enable_guests parameter to app configs
updated tests with app config setting
added conditional authentication for guests
moved shared examples into file / some refactoring