coding style: make long method arguments PSR-2 compatible
fix: use empty strings for default configuration of realm and profile
coding style: use same idents everywhere (tabs in this case)