Fixed importing user data function from any module

Before this change if the USER_DATA_FN function was defined as 'myapp.core.foo.bar.auth.user_data_fn' it would fail because the split() was expected to have only 3 items.

Thanks a lot for your work!