Refactor authentication examples

* [AGDROID-215](https://issues.jboss.org/browse/AGDROID-215)
* [AGDROID-216](https://issues.jboss.org/browse/AGDROID-216)
* [AGDROID-219](https://issues.jboss.org/browse/AGDROID-219)