fix #1399: auto login after account creation

fix #1399: use getActivity().startActivityForResult() from a fragment instead of startActivityForResult()