README: Ported authentication documentation to compiled snippets.
JPA tests: Moved JPA test helper classes to production code.
README: Replaced emailing samples with snippets. Added JPA test snippets.
README: Replaced emailing configuration sample with a snippet.