Minor issue in AccountManager

In AccountManager#createAccount(String username, String password, Map attributes)

the manager attempts to add username and password attributes to the map. If the map is unmodifiable it will fail. Either a new map should be allocated or it should be noted in the javadocs to pass it a modifiable map.